#!/bin/bash
workdir=/home/ceph-deploy.d/
cephlist="${workdir}/cephlist.txt"
for ip in $(cat $cephlist);do
    echo -----$ip-----
    ssh $ip service ceph restart
done

